// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue"
import ElementUI from "element-ui"
import App from "./App.vue"
import router from "./router"
import store from "./vuex"
import i18n from "./i18n/i18n"
import globalPlugin from "./utils/global"
import permission from "./directive/permission/button"
import NProgress from "nprogress"

import "nprogress/nprogress.css"
import "element-ui/lib/theme-chalk/index.css"
import "@/assets/iconfont/iconfont.css"
import "font-awesome/css/font-awesome.css"

import "@/router/permission"
import api from './request/api.js'
Vue.prototype.$http = api
<<<<<<< HEAD
=======

>>>>>>> 3e3c0f4f17bc187df3f315b6eed3a2da2f99f54a


//引入mavonEditor
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
// use
Vue.use(mavonEditor)
// 表格
// import Vue from 'vue'

import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/index.css'
//word
import { saveAs } from 'file-saver';
Vue.use(VXETable)



import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

Vue.use(mavonEditor)

import './sm/directive'




/*       import VXETable from 'vxe-table'
      import 'vxe-table/lib/style.css'

      Vue.use(VXETable) */

/* 字体图标 */


/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(globalPlugin)
Vue.use(permission)

NProgress.inc(0.2)
NProgress.configure({ easing: "ease", speed: 500, showSpinner: false })

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  store,
  i18n,
  render: h => h(App),
  components: { App },
  template: "<App/>"
})
